package com.mapper;

import com.alibaba.druid.sql.visitor.functions.Right;
import com.pojo.RightClassOne;

import java.util.List;

public interface RightMapper {

    List<RightClassOne> findAll();

    int updateStatusByRightId(Integer rightId);

    int updateStatusBySuperId(Integer rightId);

    int updateRight(RightClassOne rightClassOne);

    List<RightClassOne> findMainRight();

    int addFrontRight(RightClassOne rightClassOne);

    int addBackgroundRight(RightClassOne rightClassOne);

    List<RightClassOne> findFuzzyMainRight(RightClassOne rightClassOne);

}
